home *** CD-ROM | disk | FTP | other *** search
- Path: swidir.switch.ch!epflnews!news
- From: Daniel Kobler <kobler@dma.epfl.ch>
- Newsgroups: comp.lang.c++
- Subject: Q about DLL's with Borland C++ 4.0
- Date: Thu, 04 Jan 1996 11:29:48 +0100
- Organization: Ecole Polytechnique Federale de Lausanne
- Message-ID: <30EBAC1C.41C6@dma.epfl.ch>
- NNTP-Posting-Host: masg9.epfl.ch
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b4 (X11; I; IRIX 5.3 IP20)
-
- Hello !
-
- My problem is the following: I have functions in 4 files (*.c because they
- are written in C, but this not important), with a header file for each of
- these files (*.h, contains the headers of the functions in the corresponding
- *.c), and a fifth header file that contains the #define, typedef, ....
- One of these functions, called production, needs to be called by a macro of
- Excel. Therefore I made a DLL of these files, with the line
- void _export production(...);
- in file1.h (if the function is in file1.c).
- The macro of Excel recognizes the DLL, but says the function production does
- not exist in that DLL. What did I do wrong? Have I forgotten a key-word? Or
- is this "void _export production(...);" misplaced?
-
- Thank you in advance for any help,
-
- Daniel
-
- --
- ---------------------------------------------------------------------------
- (__) Daniel Kobler
- (-o) EPFL, DMA-ROSE
- /------\/ CH-1015 Lausanne Mathematics Departement
- /| || Switzerland Swiss Federal Institute of Technology
- * ||----|| 021/693.25.66
-
- E-mail: kobler@dma.epfl.ch
- URL: http://dmawww.epfl.ch/rose.mosaic/kobler.dir/home.html
- ---------------------------------------------------------------------------
-